home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO2003 Places Bar Small Icons.xpl < prev    next >
Text File  |  2004-01-29  |  1KB  |  51 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Microsoft Office\MS Office 2003\Open/Save Dialog\Places Bar"
  5. "NAME"="Small Icons"
  6. "VERSION"="1.04"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Use small icons in places bar"
  9. "DESCRIPTION 1"="The default icon size for the Microsoft Office places bar is large."
  10. "DESCRIPTION 2"="Check this box to use small icons."
  11. "DESCRIPTION 3"="Clear this box to use large icons."
  12. "AUTHOR"="Donald R. Shroyer, Esq. (patched by Xteq Systems)"
  13. "CONTACTURL"="http://www.lscrs.com"
  14. "COPYRIGHT"="Copyright ⌐ 2002 Donald R. Shroyer / 2004 Xteq Systems"
  15. "COMMENT 1"=""
  16.  
  17.  
  18. MSO2KOFPIS="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\ItemSize"
  19. MSO2K="HKCU\Software\Microsoft\Office\11.0\"
  20.  
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(MSO2K) then
  23.   i=RegReadValue(MSO2KOFPIS)
  24.    if i=1 or IsEmpty(i) then
  25.     SetUIElement 1,false
  26.    else
  27.     SetUIElement 1,true
  28.    end if
  29.  else
  30.   Call Disable()
  31.  end if
  32. End Sub
  33.  
  34. Sub Plugin_CheckData(ElementIndex)
  35. End Sub
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  b=GetUIElement(1)
  39.  if b=true then
  40.     Call RegWriteValue(MSO2KOFPIS,0,2)
  41.  else
  42.     Call RegWriteValue(MSO2KOFPIS,1,2)
  43.  end if
  44. End Sub
  45.  
  46. Sub Plugin_Terminate 
  47. End Sub
  48.  
  49.  
  50.  
  51.